
package cc.Utils;

import cc.Dao.ContentDao;
import cc.ServiceImpl.AdminServiceImpl;
import cc.ServiceImpl.ContentServiceImpl;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;


/**
 * @Auther: qiuzp
 * @Date: 2018/9/10 19:59
 * @Description:
 */

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = {"classpath:application.xml"})
public class Test {
    @Autowired
    private ContentDao contentDao;
    @Autowired
    private AdminServiceImpl adminService;
    @Autowired
    private ContentServiceImpl contentService;

    @org.junit.Test
   public void test(){

     /* //  System.out.println(contentDao.getContent(contentInfo));
       // System.out.println(contentDao.getConContent("33565665573"));

        System.out.println(contentDao.getBackContentByCategory("2323243huhuuh4424").size()+"=======================");
       // adminService.getpassword("123");
*/

        System.out.println(System.currentTimeMillis());
   }


}

